package com.yc.boot.train.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yc.boot.common.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * Create with IntelliT IDEA
 *
 * @Author: zhengmingzhe
 * @Date: 2022/01/11/11:54
 * @Description:
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "通知公告")
@TableName("notice_message")
public class Notice extends BaseEntity {
    @TableField("notice_name")
    @ApiModelProperty("公告标题")
    private String noticeName;

    @TableField("notice_intro")
    @ApiModelProperty("公告简介")
    private String noticeIntro;

    @TableField("notice_content")
    @ApiModelProperty("公告内容")
    private String noticeContent;

    @TableField("release_time")
    @ApiModelProperty("发布时间")
    private String releaseTime ;

    @TableField("create_by")
    @ApiModelProperty("发布人")
    private Long createBy ;
}
